#include <iostream>
using namespace std;
int x;
int func1() {
	x = 2;
	int y = 3;
	int z;
	if (x > 0) {
		z = x + y;
	}
	else {
		z = x * y;
	}
	return z;
	
}
int func2() {
	x = -2;
	int a = x + 3;
	x = a + x;
	int b = a + x;
	int c = b * b;

	return c;

}
int main() {

	int z = func1();
	int c = func2();
	cout << z << endl;
	cout << c << endl;

}